From: Michael Gilbert Date: Wed, 6 Jul 2022 00:44:32 +0000 (+0100) Subject: disable excess precision flag on arm64, clang doesn't support it X-Git-Tag: archive/raspbian/7.0_repack-10+rpi1~3^2~10 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=e087713963f9fa152f3335fcbeedf0305f8f82da;p=wine.git disable excess precision flag on arm64, clang doesn't support it Gbp-Pq: Topic arm64 Gbp-Pq: Name excess-precision.patch --- diff --git a/configure.ac b/configure.ac index 69149c3..493e46d 100644 --- a/configure.ac +++ b/configure.ac @@ -1821,6 +1821,10 @@ then WINE_TRY_CFLAGS([-fexcess-precision=standard],[AC_SUBST(EXCESS_PRECISION_CFLAGS,"-fexcess-precision=standard")]) fi + case $host_cpu in + *aarch64*) EXCESS_PRECISION_CFLAGS="" ;; + esac + dnl Check for noisy string.h WINE_TRY_CFLAGS([-Wpointer-arith], [saved_string_h_CFLAGS=$CFLAGS